Skip to content

Update Seed data in database article to 9.2 #3496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

alistairmatthews
Copy link
Contributor

@alistairmatthews alistairmatthews commented May 14, 2025

Summary

Updates the Seed data in database using .NET Aspire article to .NET Aspire 9.2:

  • Ensures container volumes and bind mounts are correctly described and differentiated.
  • Describes the WithCreationScript() method for SQL Server and how to use it.
  • Updates links to the code in the DataContainers sample

Note: The WithCreationScript() method is not supported for PostgreSQL and MySQL in .NET Aspire 9.2 but will be in 9.3. This article should be updated after that release.

Fixes #3384


Internal previews

📄 File 🔗 Preview link
docs/database/seed-database-data.md Seed data in a database using .NET Aspire

@IEvangelist IEvangelist reopened this May 15, 2025
@IEvangelist IEvangelist enabled auto-merge (squash) May 15, 2025 16:29
@IEvangelist IEvangelist merged commit 95ff911 into dotnet:main May 15, 2025
9 checks passed
@alistairmatthews alistairmatthews deleted the update-seed-db-article-for-9.2 branch May 27, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9.2 sample broke the seed database article
2 participants